class EnterScene extends core.BaseScene {
    private static _HasInited: boolean
    public static Init() {
        if (EnterScene._HasInited) {
            return
        }
        EnterScene._HasInited = true
        core.App.SceneManager.register(SceneConsts.Enter, new EnterScene())
        core.App.ControllerManager.register(ControllerConsts.StartGame, new StartGameControl())
    }

    constructor() {
        super()
    }
    public onEnter(): void {
        super.onEnter()

        this.addLayer(LayerManager.UI_Game)

        core.App.ViewManager.open(ui.ViewConst.StartGame)
        //LayerManager.UI_Game.addChild(new ui.TestUI())
    }
}